# Maintainer: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Dave Reisner <dreisner@archlinux.org>
# Contributor: Bert Muennich <be.muennich at gmail.com>

pkgname=urxvt-perls
pkgver=2.3
pkgrel=2
pkgdesc="URL and Mouseless text selection for rxvt-unicode"
arch=('any')
url='https://www.github.com/muennich/urxvt-perls'
license=('GPL2')
depends=('rxvt-unicode' 'perl' 'xsel')
install=$pkgname.install
source=($pkgname-$pkgver.tar.gz::https://github.com/muennich/$pkgname/archive/$pkgver.tar.gz)
md5sums=('89fc4436a6d9e3ea60720bec9c55e4c5')

package() {
  cd $pkgname-$pkgver

  install -dm755 "$pkgdir"/usr/lib/urxvt/perl
  install -t "$pkgdir"/usr/lib/urxvt/perl -m644 keyboard-select deprecated/{clipboard,url-select}
}
